<div class="module list">
	<div class="padding">
<?php
$module[46]=getModTemplate(46);
if($katana->MenuID > 0)
{
	if($_REQUEST['cat'] > 0)
	{ $items = $shop->getProductsList($katana->MenuID, $_REQUEST['cat']); }
	else
	{ $items = $shop->getProductsList($katana->MenuID, 0, '', 10); }
	
	if($items)
	{
		echo '<table cellpadding="0" cellspacing="0" border="0"  width="100%" >';
		$i = 0;
		$row = 1;
		$col = 1;
		$j = 0;
		echo '<tr>';
		foreach($items as $item)
		{
			if(($module[46]['rows'] == '0') || ($row <= $module[46]['rows']))
			{
				echo '<td align="center">'; 
				require('block.php');
				echo '</td>';
				if(($col % $module[46]['cols']) == 0)
				{
					echo '</tr><tr>';
					$row++;
				}
				$col++;
			}
			else
			if($module[46]['indexing'] == '1')
			{
				if(!$results['start'])
				{ $results['start'] = $i; }
				$results['end'] = $i;
				$footerIndex = 'Showing: '.$results['start'].'/'.$results['end'].'&nbsp;&nbsp;';
			}
			$i++;
		}
		echo '</tr>';
		echo '</table>';
	}
}
else
{ echo '<img src="upload/sites/16/images/shop-banner.gif" alt="logo" />'; }
?>
    </div>
</div>